package live.zs.mongodb.entity;

import org.springframework.data.annotation.Id;

/**
 * @author madison
 * {@code @description}
 * {@code @date} 2023/5/2 20:47
 */
public class Person {
    @Id
    private String id;
    private String firstname;
    private String lastname;
    private Address address;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
